package cn.funeralobjects.test.model;

/**
 * @author FuneralObjects
 * Create date: 2020/4/15 11:10 AM
 */
public class Father {
    private int i = test();
    private static int j = method();

    static {
        System.out.println("static - (1)");
    }

    public Father() {
        System.out.println("constructor - (2)");
    }

    {
        System.out.println("(3)");
    }

    public int test() {
        System.out.println("test - (4)");
        return 1;
    }

    public static int method() {
        System.out.println("static - method - (5)");
        return 2;
    }
}
